<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ page import="com.yls.except.util.ImgProperties" %>
<%@ page import="com.yls.except.util.HexString" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    String token = "";
    String type = "";
    String invitecode = "";
    Cookie[] cookies = request.getCookies();
    if (cookies != null) {
        for (int i = 0; i < cookies.length; i++) {
            String name = cookies[i].getName();
            String value = cookies[i].getValue();
            if ("token".equals(name))
                token = value;
            if ("type".equals(name))
                type = value;
            if ("invitecode".equals(name))
                invitecode = value;
        }
    }
%>
<input type="hidden" id="token" value="<%=token%>"/>
<input type="hidden" id="type" value="<%=type%>"/>
<input type="hidden" id="invitecode" value="<%=invitecode%>"/>